
package com.kugou.game.sdk.api.common;

/**
 * 描述:SDK退出游戏回调接口
 * 
 * @author liux
 * @since 2014-8-19 下午05:32:14
 */
public interface OnExitListener {

    public static final int STATE_GIFTBAG_NO = 0;

    public static final int STATE_GIFTBAG_YES = 1;

    /**
     * 退出游戏回调
     * 
     * @param state 是否会弹出礼包引导对话框: 不会{@link #STATE_GIFTBAG_NO} ； 会
     *            {@link #STATE_GIFTBAG_YES}
     */
    public void exitGame(int state);

    public void onDialogDismiss();

}
